package com.sheep.classroompie.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.util.Date;

public class Exam {
  @TableId(type = IdType.AUTO)
  private int examId; //测试ID
  private String title; //测试标题
  private Date startTime;
  private Date endTime;
  private String publishMethod;
  private String problems;


  private String courseId;

  public Exam(int examId, String title, Date startTime, Date endTime, String publishMethod, String problems, String courseId) {
    this.examId = examId;
    this.title = title;
    this.startTime = startTime;
    this.endTime = endTime;
    this.publishMethod = publishMethod;
    this.problems = problems;
    this.courseId = courseId;
  }

  public int getExamId() {
    return examId;
  }

  public void setExamId(int examId) {
    this.examId = examId;
  }

  public String getTitle() {
    return title;
  }

  public void setTitle(String title) {
    this.title = title;
  }

  public Date getStartTime() {
    return startTime;
  }

  public void setStartTime(Date startTime) {
    this.startTime = startTime;
  }

  public Date getEndTime() {
    return endTime;
  }

  public void setEndTime(Date endTime) {
    this.endTime = endTime;
  }

  public String getPublishMethod() {
    return publishMethod;
  }

  public void setPublishMethod(String publishMethod) {
    this.publishMethod = publishMethod;
  }

  public String getProblems() {
    return problems;
  }

  public void setProblems(String problems) {
    this.problems = problems;
  }

  public String getCourseId() {
    return courseId;
  }

  public void setCourseId(String courseId) {
    this.courseId = courseId;
  }
}
